Skip to content

feat(controlplane): add queue monitoring to admin dashboard#2623

Merged
mekilis merged 7 commits intomainfrom
smart/queue-monitoring-admin-ui
Apr 21, 2026
Merged

feat(controlplane): add queue monitoring to admin dashboard#2623
mekilis merged 7 commits intomainfrom
smart/queue-monitoring-admin-ui

Conversation

@mekilis
Copy link
Copy Markdown
Collaborator

@mekilis mekilis commented Apr 14, 2026

Summary

  • add queue monitoring admin UI and embedded Asynqmon route flow with authenticated session mint/revoke endpoints
  • wire control-plane middleware/routes for cookie-gated embed access and standard auth on direct monitoring route
  • harden supporting flows: API options repo initialization, logout/session handling, admin role refresh stability, and queue monitoring UX polish (wider layout, fullscreen preference, explicit refresh reload)

Test plan

  • go build ./...
  • golangci-lint run ./...
  • cd web/ui/dashboard && npx ng build --configuration=development
  • verify Admin -> Queue monitoring auto-loads iframe and Refresh forces reload
  • verify /queue/monitoring/ requires API auth and /queue/monitoring/embed/* uses session cookie flow
  • verify logout revokes queue monitoring session and refresh/restart behavior is consistent

Comment thread api/handlers/queue_monitoring.go Dismissed
Comment thread api/handlers/queue_monitoring.go Dismissed
@mekilis mekilis changed the title feat(controlplane): add queue monitoring to admin dashboard (PDE-713) feat(controlplane): add queue monitoring to admin dashboard Apr 14, 2026
@frain-dev frain-dev deleted a comment from linear Bot Apr 14, 2026
@mekilis mekilis enabled auto-merge April 17, 2026 14:06
mekilis added 7 commits April 21, 2026 08:57
Add an admin queue monitoring experience with embedded Asynqmon session routing, plus auth/session lifecycle fixes to keep refresh, restart, and logout behavior consistent.
Set queue monitoring session cookies as Secure for HTTPS requests (including TLS-terminating proxy headers) while keeping local HTTP development functional.
Avoid recovering admin route access from cached roles on membership fetch errors and set queue session Secure cookies based on TLS/deployment environment without trusting forwarded proto headers directly.
Use the authenticated dashboard access token for /queue/monitoring/session instead of portal-link fallbacks, and normalize tokens to avoid malformed Authorization headers causing 401s.
…link

Rename the queue monitoring fullscreen action labels for clarity and remove the legacy direct Asynqmon button so the footer keeps only refresh and fullscreen controls.
Add the rebuilt UI artifact so the queue monitoring dashboard source changes are reflected in the embedded control plane assets.
@mekilis mekilis force-pushed the smart/queue-monitoring-admin-ui branch from f6ffb16 to 36d5ef5 Compare April 21, 2026 08:02
@mekilis mekilis added this pull request to the merge queue Apr 21, 2026
Merged via the queue into main with commit cf61cbc Apr 21, 2026
15 checks passed
@mekilis mekilis deleted the smart/queue-monitoring-admin-ui branch April 21, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants